// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import store from '@/store';
let vuexStore = require("@/store/$u.mixin.js");
Vue.mixin(vuexStore);
import uView from '@/uni_modules/uview-ui'
// 声音
//在mian.js中
import music from './utils/music.js'


Vue.use(uView)
// import tmVuetify from "./tm-vuetify";
// Vue.use(tmVuetify)
Vue.prototype.$baseUrl = function() {
		// return 'http://192.168.1.22:8182'
		return 'http://123.57.49.234:8182'
		
	// if (this.$u.os() == 'devtools') {
	// 	return 'http://192.168.1.14:8182'
	// 	// return 'http://123.57.49.234:8182'
	// } else {
	// 	// return 'http://192.168.1.14:8182'
	// 	// return 'http://123.57.49.234:8182'
	// }
}
Vue.prototype.music =music 

Vue.prototype.$imgUrl = function(src) {

}
Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	store,
	...App
})
// 引入请求封装，将app参数传递到配置中
require('@/common/request.js')(app)
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
import App from './App.vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif
